<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/includedTag.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@page import="java.util.List"%>
<%@page import="com.drugStorage.domain.DrugSupplier"%>
<%@page import="java.util.Date"%>
<%@page import="com.drugStorage.domain.User"%><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加采购计划</title>
<link type="text/css" rel="stylesheet" href="../script/jquery-ui-1.7.2/css/ui-lightness/jquery-ui-1.7.2.custom.css"></link>
<jsp:include page="/includedJS.jsp"></jsp:include>

<script type="text/javascript">
	$(document).ready(function() {
		$(".datepicker").datepicker({
			dateFormat : "yy-mm-dd"
		});
	});
</script>
</head>
<%
List<DrugSupplier> drugSupplierList = (List<DrugSupplier>)request.getAttribute("drugSupplierList"); 
Date d = new Date();
User user = (User)request.getSession().getAttribute("user");
%>
<body>

<h1>添加采购计划 </h1>
<html:form action="/BuyPlan/ShowBuyPlan?method=AddBuyPlan">
经销企业：
<select name="drugSupplierId">
	<%
		for (DrugSupplier b : drugSupplierList) {
	%>

	<option value="<%=b.getId()%>"><%=b.getName()%></option>
	<%
		}
	%>
</select> <br>
制表时间：  <input  value="${d}">  
<p></p>
操作员：<input value="${user.name}">   
<input name="submit" type="submit" value="提交">
<input name="reset" type="reset" value="重新填写">
</html:form>
</body>
</html>